<template>
  <div>
<a v-bind:href="url">百度一下1</a>
<a :href="url">百度一下2</a>
<img v-bind:src="liUrl" alt="">
<img :src="liUrl" alt="">

  </div>
</template>

<script>
export default {
data(){
    return {
        url:"http://www.baidu.com",
        liUrl:"https://www.runoob.com/wp-content/uploads/2017/01/vue.png"
    }
}
}
</script>  

<style>

</style>